How to make recursive function hold it's original parameter value

join shbcf.ru